<%@page import="futbolfacil.modelo.Cancha"%>
<%@page import="futbolfacil.modelo.Horario"%>
<%@page import="java.util.ArrayList"%>
<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet" href="css/rexstyle.css">
<title>Alquilar Cancha</title>
</head><html>
<body>
<h1>Alquilar Cancha</h1>

<div id="insert" style="width:600px;">
<fieldset>
<legend>Ingreso de datos</legend>

<label>Local:</label>	
		<select name="cboLocal">
    	<option value="La Molina" selected="selected">La Molina</option>
        <option value="Ate">Ate</option>
        <option value="Monterrico">Monterrico</option>
        <option value="San Isidro">San Isidro</option>
	</select><br>  
<label>Cancha:</label>	
		<select name="cboCancha">
    	<option value="Futbol" selected="selected">Futbol</option>
        <option value="Voley">Voley</option>
	</select><br>
	<label>Fecha:</label><input type="text" id="txtFecha" name="txtFecha"><br>  
	<label>Hora Inicio:</label>
	<select name="cboHoraInicio">	
		<%		
 		ArrayList<String> horasI = (ArrayList<String>) request.getAttribute("ListadoHoras");
		for(String hora : horasI){ 
			out.println("<option value='"+ hora +"' > "+ hora +"</option>");
		}
		%>
	</select><br />	
	<label>Hora Fin:</label>
	<select name="cboHoraFin">	
		<%		
 		ArrayList<String> horasF = (ArrayList<String>) request.getAttribute("ListadoHoras");
		for(String hora : horasF){ 
			out.println("<option value='"+ hora +"' > "+ hora +"</option>");
		}
		%>
	</select><br />						
	<label>&nbsp;</label><input type="submit" name="submit1" value="Buscar">		
</form>
</fieldset>
</div>
</body>
</html>
